﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FiniteStateMachine
{
    [AttributeUsage(AttributeTargets.Method,AllowMultiple=false)]
    public sealed class FsmTransitionHandlerAttribute:Attribute
    {
        private string _FromState;
        /// <summary></summary>
        public string FromState
        {
            get
            {
                return this._FromState;
            }
            set
            {
                this._FromState = value;
            }
        }

        public FsmTransitionHandlerAttribute(string fromState)
        {
            this._FromState = fromState;
        }
    }
}
